<?php

namespace app\admin\jobs;

use app\admin\service\Crontab;

class ProductProfitInit
{
    /**
     * 发布社媒文案到社媒平台 具体实现
     * @param $data
     * @return bool
     */
    public function execute()
    {
            echo 'productProfitInit start '.time();
               $service  =  new Crontab();
               $service ->getProfitForCache();
            echo 'productProfitInit end '.time();
            return true;
    }
}
